<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/7/15 0015
  Time: 22:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>支付</title>
    <script src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/3.5.1/jquery.min.js"></script>
    <script>
        $(document).ready(function(){
            $("#pay").click(function(){
                var orderNo = $("#orderNo").val();
                if(!orderNo){
                    return;
                }
                window.location.href="/order/pay?orderNo="+orderNo;
            })
        })
    </script>

</head>
<body>
    <h3>请在30秒内完成支付</h3>
    <input type="text" id="orderNo" value="${orderNo}"/>
    <button id="pay">支付</button>

</body>
</html>
